package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 薪资标准对象 p_salary_standard
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
public class SalaryStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 用户ID */
    private Long userId;

    /** 用户姓名 */
    private String userName;

    /** 部门名称 */
    private String deptName;

    /** 基本工资 */
    @Excel(name = "基本工资")
    private String baseSalary;

    /** 岗位津贴 */
    @Excel(name = "岗位津贴")
    private String allowance;

    /** 绩效奖金 */
    @Excel(name = "绩效奖金")
    private String performanceBonus;

    /** 加班费 */
    @Excel(name = "加班费")
    private String overtimePay;

    /** 扣款ID */
    @Excel(name = "扣款ID")
    private Long deductionId;

    /** 个人所得税 */
    @Excel(name = "个人所得税")
    private String tax;

    /** 总薪资 */
    @Excel(name = "总薪资")
    private String totalSalary;

    /** 扣款管理信息 */
    private List<SalaryReduction> salaryReductionList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBaseSalary(String baseSalary) 
    {
        this.baseSalary = baseSalary;
    }

    public String getBaseSalary() 
    {
        return baseSalary;
    }
    public void setAllowance(String allowance) 
    {
        this.allowance = allowance;
    }

    public String getAllowance() 
    {
        return allowance;
    }
    public void setPerformanceBonus(String performanceBonus) 
    {
        this.performanceBonus = performanceBonus;
    }

    public String getPerformanceBonus() 
    {
        return performanceBonus;
    }
    public void setOvertimePay(String overtimePay) 
    {
        this.overtimePay = overtimePay;
    }

    public String getOvertimePay() 
    {
        return overtimePay;
    }
    public void setDeductionId(Long deductionId) 
    {
        this.deductionId = deductionId;
    }

    public Long getDeductionId() 
    {
        return deductionId;
    }
    public void setTax(String tax) 
    {
        this.tax = tax;
    }

    public String getTax() 
    {
        return tax;
    }
    public void setTotalSalary(String totalSalary) 
    {
        this.totalSalary = totalSalary;
    }

    public String getTotalSalary() 
    {
        return totalSalary;
    }

    public List<SalaryReduction> getSalaryReductionList()
    {
        return salaryReductionList;
    }

    public void setSalaryReductionList(List<SalaryReduction> salaryReductionList)
    {
        this.salaryReductionList = salaryReductionList;
    }


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("baseSalary", getBaseSalary())
            .append("allowance", getAllowance())
            .append("performanceBonus", getPerformanceBonus())
            .append("overtimePay", getOvertimePay())
            .append("deductionId", getDeductionId())
            .append("tax", getTax())
            .append("totalSalary", getTotalSalary())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("salaryReductionList", getSalaryReductionList())
            .toString();
    }
}
